//
//  CallMeController.swift
//  SpeehOrText
//
//  Created by zhibao on 2024/2/13.
//

import UIKit
class CallMeController: SecSuperController {
    override func viewDidLoad() {
        super.viewDidLoad()
        self.bgImgView.isHidden = false
        self.gk_navTitle = LocalizedString("联系我们")
        
        let imgView = UIImageView(frame: CGRect(x: 50, y: 144 -  64 + navigationFullHeight(), width: 60, height: 60))
        imgView.image = UIImage(named: "com_icon")
        imgView.layer.cornerRadius = 4
        imgView.clipsToBounds = true
        self.view.addSubview(imgView)
        
        let ckfLabel = UILabel()
        ckfLabel.text = LocalizedString("客服邮箱")
        ckfLabel.font = MY_SCALE_RegularFONT(13)
        ckfLabel.numberOfLines = 0
        ckfLabel.lineBreakMode = .byWordWrapping
        ckfLabel.textColor = UIColor.white
        self.view.addSubview(ckfLabel)
        ckfLabel.snp.makeConstraints { make in
            make.left.equalTo(imgView)
            make.right.equalTo(-50)
            make.top.equalTo(imgView.snp.bottom).offset(16)
        }
        
        let kfLabel = UILabel()
        kfLabel.text = "3800443578@qq.com"
        kfLabel.font = MY_SCALE_BoldFont(13)
        kfLabel.numberOfLines = 0
        kfLabel.lineBreakMode = .byWordWrapping
        kfLabel.textColor = UIColor.white
        self.view.addSubview(kfLabel)
        kfLabel.snp.makeConstraints { make in
            make.left.right.equalTo(ckfLabel)
            make.top.equalTo(ckfLabel.snp.bottom).offset(4)
        }
        
        let cwxLabel = UILabel()
        cwxLabel.text = LocalizedString("微信客服")
        cwxLabel.font = MY_SCALE_RegularFONT(13)
        cwxLabel.numberOfLines = 0
        cwxLabel.lineBreakMode = .byWordWrapping
        cwxLabel.textColor = UIColor.white
        self.view.addSubview(cwxLabel)
        cwxLabel.snp.makeConstraints { make in
            make.left.right.equalTo(kfLabel)
            make.top.equalTo(kfLabel.snp.bottom).offset(32)
        }
        
        let wxLabel = UILabel()
        wxLabel.text = "wx_xiaomingxing"
        wxLabel.font = MY_SCALE_BoldFont(13)
        wxLabel.numberOfLines = 0
        wxLabel.lineBreakMode = .byWordWrapping
        wxLabel.textColor = UIColor.white
        self.view.addSubview(wxLabel)
        wxLabel.snp.makeConstraints { make in
            make.left.right.equalTo(cwxLabel)
            make.top.equalTo(cwxLabel.snp.bottom).offset(4)
        }
        
        let detailLabel = UILabel()
        detailLabel.text = LocalizedString("我们将在该领域一直深耕下去，感谢您的理解与支持，如有问题请添加微信客服。")
        detailLabel.font = MY_SCALE_RegularFONT(15)
        detailLabel.numberOfLines = 0
        detailLabel.lineBreakMode = .byWordWrapping
        detailLabel.textColor = UIColor.white
        self.view.addSubview(detailLabel)
        detailLabel.snp.makeConstraints { make in
            make.left.equalTo(imgView)
            make.right.equalTo(-50)
            make.top.equalTo(wxLabel.snp.bottom).offset(35)
        }
    }
}
